home *** CD-ROM | disk | FTP | other *** search
/ PC Open 101 / PC Open 101 CD 1.bin / CD1 / INTERNET / EMAIL / pop file / setup.exe / libkakasi.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-09-07  |  1.4 KB  |  52 lines

  1. /*
  2.  * libkakasi.h
  3.  * $Id: libkakasi.h,v 1.6 2001/08/27 02:11:56 rug Exp $
  4.  * Copyright (C) 1999
  5.  * NOKUBI Takatsugu <knok@daionet.gr.jp>
  6.  *
  7.  * This program is free software; you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License as published by
  9.  * the Free Software Foundation; either versions 2, or (at your option)
  10.  * any later version.
  11.  *
  12.  * This program is distributed in the hope that it will be useful
  13.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  * GNU General Public License for more details.
  16.  *
  17.  * You should have received a copy of the GNU General Public License
  18.  * along with KAKASI, see the file COPYING.  If not, write to the Free
  19.  * Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  */
  21.  
  22. #ifndef _LIBKAKASI_H
  23. #define _LIBKAKASI_H
  24.  
  25. #ifndef PARAMS
  26. # if __STDC__ || defined __cplusplus
  27. # define PARAMS(args) args
  28. # else
  29. # define PARAMS(args) ()
  30. # endif
  31. #endif
  32.  
  33. int kakasi_getopt_argv PARAMS((int argc, char **argv));
  34. char *kakasi_do PARAMS((char *str));
  35. int kakasi_close_kanwadict PARAMS((void));
  36. int kakasi_free PARAMS((char *p));
  37.  
  38. /*
  39.  * NOTE: these are internal functions. Do not use.
  40.  */
  41. void digest_start_copy();
  42. void put_separator();
  43. void putchars();
  44. void digest_out();
  45. int digest();
  46. void digest_shift();
  47.  
  48. void setcharbuffer PARAMS((unsigned char *s));
  49. char *getpbstr PARAMS((void));
  50.  
  51. #endif /* _LIBKAKASI_H */
  52.